/**
 * Apr 11, 2012
 */
package org.zlex.spring.orm.ibatis.domain;

import java.io.Serializable;

/**
 * 
 * @author zlex
 * @version 1.0
 * @since 1.0
 */
public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6609993023499551563L;
	private String username;
	private int id;

	/**
	 * 
	 */
	public User() {
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @param id
	 * @param username
	 */
	public User(int id, String username) {
		this.id = id;
		this.username = username;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

}
